package com.设计模式.strategy;

import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @Date 2021/1/8 15:00
 * @Author admin
 * @Description
 */
@Service
public class MatchBaiDuServiceImpl implements IMatchService{
    public static final List<Integer> CHANNEL_BAIDU= Arrays.asList(3,4);
    @Override
    public void match(Map<String, Object> map) {
        System.out.println("BAIDU");
    }

    @Override
    public List<Integer>  getChannelId() {
        return CHANNEL_BAIDU;
    }
}
